// pages/home/home.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    bannerList:[
      {name:'banner1',url:"../../images/banner-01.png"},
      {name:'banner2',url:"../../images/banner-02.png"},
      {name:'banner3',url:"../../images/banner-03.png"},
      {name:'banner4',url:"../../images/banner-04.png"}
    ],
  },
  gotoorder(){
    wx.switchTab({
        url: '/pages/order/order'
    });   
},
gotome(){
  wx.switchTab({
      url: '/pages/me/me'
  });   
},
})